﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Aidbrella.Web.Common;
using System.ComponentModel.DataAnnotations;
using Aidbrella.Web.Controllers;

namespace Aidbrella.Web.ViewModels
{
   public class OrganizationViewModel
    {
       public int OrganizationId { get; set; }

       public List<ProjectSiteViewModel> ProjectLocations { get; set; }
     
       public string Name { get; set; }
       public string Address { get; set; }
     
       public string Description { get; set; }

       public string  Website {get;set;}
       public string Email {get;set;}
       public string Phone {get;set;}

       public List<FeedController.UpdateData> Updates { get; set; }

       public RegistrationViewModel Registration {get;set;}

       public List<ProjectViewModel> Projects { get; set; }

    }

    public class RegistrationViewModel
    {
        public int OrganizationId {get;set;}
        public string Country {get;set;}
        public string RegNo {get;set;}
        public DateTime DateOfRegistration {get;set;}
        public OrganizationType OrganizationType { get; set; }
    }
}
